# $Id: PKGBUILD 71871 2012-06-02 14:59:08Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Marcus Schulderinsky <mmaacceess at gmail dot com>

pkgname=lxmusic
pkgver=0.4.5
pkgrel=1
pkgdesc='Lightweight XMMS2 client'
arch=('i686' 'x86_64')
url="http://lxde.org/"
license=('GPL')
groups=('lxde')
depends=('gtk2' 'xmms2')
makedepends=('pkgconfig' 'intltool')
source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
        libnotify-0.7.patch)
md5sums=('9c3e5eb636f05e8c190d359cd0c8b679'
         '770c63254a7369613daeb6d1260d123f')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i $srcdir/libnotify-0.7.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}
